package com.mdd.admin.validate.yylq;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 【请填写功能名称】参数
 * @author LikeAdmin
 */
@Data
@ApiModel("【请填写功能名称】更新参数")
public class TAppTownUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "编号")
    private Integer id;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "乡镇名")
    private String name;

    @NotNull(message = "cityId参数缺失")
    @ApiModelProperty(value = "所属城市编号")
    private Integer cityId;

}
